<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<link rel="stylesheet" href="css/account.css" />
	<link rel="stylesheet" href="css/form.css" />
</head>

<body style="padding-bottom: 64px;">
	<div class="dz">所有人都疯狂的时候，你应该冷静...<i>——沃伦·巴菲特</i></div>
	<div id="header-wrap" data-mn=0 data-main=1 data-login=1 data-limit=1 data-begin=1>
		<a href="###" data-link="home" data-type="ico" class="left ico-pl ico-m ico-home"></a>
		<h2>我的账户</h2>
		<a href="###" data-link="safe" data-type="ico" class="right ico-m ico-pr ico-shield">安全</a>
	</div>
	<div class="row-block" id="a-yue">
		<div class="rb-wrap">
			<div class="rb-item">
				<div class="a-cont">
					<h3 class="ico-m ico-pr ico-subtract" data-type="ico" id="hide-ye">可用余额(元)</h3>
					<b id="balance"><span id="ye"></span></b>
				</div>
			</div>
		</div>
	</div>
	<div class="row-block" id="a-shouyi">
		<div class="rb-wrap">
			<div class="rb-item">
				<div class="a-cont right-line">
					<h3 class="ico-m ico-pr ico-info" data-dialog="zrsy" data-type="ico">昨日收益(元)</h3>
					<b>0.987232</b>
				</div>
				<div id="zrsy" class="dialog">
					<div class="d-wrap">
						<div class="d-cont">
							<h3>昨日收益(元)</h3>
							<ul class="label-list c-right">
								<li class="">
									<label>富贵天天</label>
									<div class="ll-cont"><span>0.561243</span></div>
								</li>
								<li class="">
									<label>富贵本金</label>
									<div class="ll-cont"><span>0.343421</span></div>
								</li>
								<li class="">
									<label>富贵月月</label>
									<div class="ll-cont"><span>0.000000</span></div>
								</li>
								<li class="">
									<label>合计</label>
									<div class="ll-cont"><span>0.987232</span></div>
								</li>
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div class="rb-item">
				<div class="a-cont">
					<h3 class="ico-m ico-pr ico-info" data-dialog="ljsy" data-type="ico">累计收益(元)</h3>
					<b>60.984533</b>
				</div>
				<div id="ljsy" class="dialog">
					<div class="d-wrap">
						<div class="d-cont">
							<h3>累计收益(元)</h3>
							<ul class="label-list c-right">
								<li class="">
									<label>富贵天天</label>
									<div class="ll-cont"><span>12.564533</span></div>
								</li>
								<li class="">
									<label>富贵本金</label>
									<div class="ll-cont"><span>2.345345</span></div>
								</li>
								<li class="">
									<label>富贵月月</label>
									<div class="ll-cont"><span>45.984533</span></div>
								</li>
								<li class="">
									<label>合计</label>
									<div class="ll-cont"><span>60.984533</span></div>
								</li>
							</ul>
						</div>
					</div>
				</div>
			
			</div>
		</div>
	</div>
	<div class="row-block" id="a-touzi">
		<div class="rb-wrap">
			<div class="rb-item">
				<div class="a-cont right-line">
					<h3 class="ico-m ico-pr ico-right" data-link="redeem-t" data-type="ico">富贵天天(份)</h3>
					<b><span id="keep_t"></span><i>+1000</i></b>
				</div>
			</div>
			<div class="rb-item">
				<div class="a-cont">
					<h3 class="ico-m ico-pr ico-right" data-link="redeem-y" data-type="ico">富贵月月(份)</h3>
					<b><span id="keep_y"></span></b>
				</div>
			</div>
		</div>
	</div>
	
	<ul class="form-list">
		<li data-type="ico" class="ico-m ico-pl ico-map">
			<div class="fl-cont form-sel">
				<a href="###" data-link="ticket" data-type="ico" class="ico-m ico-pr ico-right">我的富贵券<em>5</em></a>
			</div>
		</li>
		<li data-type="ico" class="ico-m ico-pl ico-friend">
			<div class="fl-cont form-sel">
				<a href="###" data-link="friend" data-type="ico" class="ico-m ico-pr ico-right">我邀请的<em>15</em></a>
			</div>
		</li>
		<li data-type="ico" class="ico-m ico-pl ico-msg">
			<div class="fl-cont form-sel">
				<a href="###" data-link="msg" data-type="ico" class="ico-m ico-pr ico-right">富贵消息<em>0</em></a>
			</div>
		</li>
	</ul>
	<div class="account-bottom">
		<div class="ab-warp">
			<a href="###" data-link="recharge" class="btn b-inline b-red">充值</a>
			<a href="###" data-link="extract" class="btn b-inline b-green">提现</a>
		</div>
	</div>
	
	<script>
	$(function(){
		$("#a-shouyi,#a-touzi").column({
			equally: 2,
			margin: 0,
			unit_w: "1/1"
		});
		hide_ye()
		var balance = $.cookie("balance")
		if(balance !== undefined){
			var balance_show = Number(balance).toFixed(6)
		}else{
			balance_show = "0.00"
		}
		$("#balance span").text(balance_show)
		
		var keep_n = parseInt($.cookie("keep_n"))
		var keep_1 = parseInt($.cookie("keep_1"))
		var keep_2 = parseInt($.cookie("keep_3"))
		var keep_3 = parseInt($.cookie("keep_6"))
		var keep_4 = parseInt($.cookie("keep_12"))
		var keep_y =keep_1+keep_2+keep_3+keep_4
		$("#keep_t").text(keep_n)
		$("#keep_y").text(keep_y)
	})
	</script>
</body>

</html>
